Php converts the url address to the complete a tag link code (php adds a tag for the url address ). The content to be extracted is as follows: Copy the code as follows: ahrefbaidu. combaidu. coma is the first A tag, and ahrefblog.baidu.com is the
The first is PHP to get the current page URL:
Copy Code code as follows:
Get the current script URL
function Getcururl ()
{
if (!empty ($_server["Request_uri"]))
{
$scriptName = $_server["Request_uri"];
$nowurl =
This article describes how to add a tag for a url address in php. for details, refer to the following content:
The code is as follows:Http://baidu.com this is the first A tag,Growth footprint-focusing on Internet development is the second A
Php implements static url pseudo-static url. I usually use apache, nginx, htaccess, and so on. php is rarely used to achieve static url. it is troublesome to use php to achieve static url, in my opinion, php is not recommended for url static. 1. the
Since September, the results of the war between Baidu and 360 have changed the URL of Baidu's search results and changed to link? Url ......... This is the redirection format. This unfriendly URL has the impulse to crack. So today I started to try
A few days ago wrote a can get to Baidu jump after the website of the article, in Baidu a bit, someone also studied Baidu Link?url=.
The following results are likely to be obtained:
1, encryption method according to: Random + input dwell time +
Since September, the results of the war between Baidu and 360 have changed the URL of Baidu's search results and changed to link? Url ......... This is the redirection format. This unfriendly URL has the impulse to crack. So today I started to try
I have previously introduced how to convert A text link to A tag in js. Now let's look at A php method. This is modified based on the Silva code. If there are any imperfections, you can refer to it. I have previously introduced how to convert A text
This article mainly introduces how PHP converts the URL in the text to the auolink () function of the link. it is a very simple and easy-to-use function. the original author also has some Nice PHP functions, for more information about how PHP code
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.